font chooser: Make levels flags
authorMatthias Clasen <mclasen@redhat.com>
Tue, 27 Mar 2018 20:10:19 +0000 (16:10 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 27 Mar 2018 20:14:21 +0000 (16:14 -0400)
commitb1b05bee5393c57cb16cbd4172d467ab96533048
treecdff2fabc9895a7773b551b708cb6f87371c1868
parent85a7d0a20123057ff3365726e41e0030d399c4b3
font chooser: Make levels flags

Turn the GtkFontChooserLevel field into flags, and
add flags for OpenType variations and features. The
motivation for this is to make font-features in the UI
opt-in, since applications need to support them by
applying the pango attribute.
gtk/gtkfontbutton.c
gtk/gtkfontchooser.c
gtk/gtkfontchooser.h
gtk/gtkfontchooserwidget.c